package cn.virens.app.cmpt;

import cn.virens.app.AppConfig;

public interface Component {
	public default String name() {
		return getClass().getSimpleName();
	}

	void initialize(AppConfig config) throws Exception;

	void destroy() throws Exception;
}
